SimpleJWTLogin\Services\ProtectEndpointService S

Total Complexity 23
Dependencies 3
Dependents 0
Total lines 176
Lines of code 105
Logical lines of code 56
Comment lines 40
Methods 7
Properties 1

Methods 7

Method Rating Maintainability Complexity Lines of code
hasAccess()
A
49 8 32
isEndpointProtected()
S
47 6 42
parseDomainsAndGetResult()
S
60 4 14
addFirstSlash()
S
71 2 6
withRouteService()
S
77 1 4
removeWpJsonFromEndpoint()
S
75 1 4
removeLastSlash()
S
79 1 3